
//
//  WSSureOrderCell.m
//  FD
//
//  Created by xiaofang wang on 2018/11/5.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//  

#import "WSSureOrderCell.h"
@interface WSSureOrderCell()
@property (weak, nonatomic) IBOutlet UILabel *nameLb;
@property (weak, nonatomic) IBOutlet UILabel *priceLb;

@end
@implementation WSSureOrderCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)setModel:(CanPinMsgModel *)model {
    _model = model;
    self.nameLb.text = model.name;
    self.priceLb.text = [NSString stringWithFormat:@"%.1f x %@",[model.price floatValue],model.count];
}
@end
